package com.bootdo.appsystem.dao;

import com.bootdo.appsystem.domain.OrderincomeDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author chglee
 * @email 806181255@qq.com
 * @date 2018-06-08 15:43:02
 */
@Mapper
public interface OrderincomeDao {

	OrderincomeDO get(Integer id);

	OrderincomeDO getByCode(String code);
	
	List<OrderincomeDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(OrderincomeDO orderincome);

	int update(OrderincomeDO orderincome);

	int remove(Integer id);

	int batchRemove(Integer[] ids);
}
